package com.wsm.common.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 访客记录表
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-17 12:07:19
 * @description : 访客记录表
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_visit")
public class VisitDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//访客记录id
	@TableId
	private Long id;
	//访客IP
	private String ip;
	//访客userAgent
	private String useragent;
	//访客城市
	private String city;
	//浏览地址
	private String url;
	//浏览器
	private String browsertype;
	//OS
	private String platformtype;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

}
